angular.module('data',[])
.factory('dataService',function(){
    var followers=['follower1','follower2','follower3'];
    var details=[{
        entry:'risk1',
        description:'risk',
        posibility:'high',
        influence:'high',
        submitter:'submitter1',
        follower:'follower1'
    },{
        entry:'risk2',
        description:'risk',
        posibility:'medium',
        influence:'medium',
        submitter:'submitter2',
        follower:'follower1'
    },{
        entry:'risk3',
        description:'risk',
        posibility:'low',
        influence:'low',
        submitter:'submitter3',
        follower:'follower1'
    }]
    return {
        followers:followers,
        details:details
    }
})